<?php $this->headTitle('Error!');  ?>
<div class="box">
  <div class="left"></div>
  <div class="right"></div>
  <div class="heading">
    <h1 style="background-image: url('images/error.png');">Error!</h1>
  </div>
  <div class="content">
    <div style="border: 1px solid #DDDDDD; background: #F7F7F7; text-align: center; padding: 15px;">
      <?php echo $this->message ?>
        
      <?php if ('development' == APPLICATION_ENV): ?>

      <h3>Exception information:</h3>
      <p>
          <b>Message:</b> <?php echo $this->exception->getMessage() ?>
      </p>

      <h3>Stack trace:</h3>
      <pre><?php echo $this->exception->getTraceAsString() ?>
      </pre>

      <h3>Request Parameters:</h3>
      <pre><?php echo var_export($this->request->getParams(), true) ?>
      </pre>
      <?php endif ?>
    </div>
  </div>
</div>